Cleaning up the Tower: Numbers in Scheme

نویسندگان

  • Sebastian Egner
  • Richard A. Kelsey
  • Michael Sperber
چکیده

The R5RS specification of numerical operations leads to unportable and intransparent behavior of programs. Specifically, the notion of “exact/inexact numbers” and the misleading distinction between “real” and “rational” numbers are two primary sources of confusion. Consequently, the way R5RS organizes numbers is significantly less useful than it could be. Based on this diagnosis, we propose to abandon the concept of exact/inexact numbers from Scheme altogether. In this paper, we examine designs in which exact and inexact rounding operations are explicitly separated, while there is no distinction between exact and inexact numbers. Through examining alternatives and practical ramifications, we arrive at an alternative proposal for the design of the numerical operations in Scheme.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Selecting Optimal Acid Gas Enrichment Configuration For Khangiran Natural Gas Refinery

  Performance and capacity of sulfur recovery unit (SRU) are greatly affected by the H2S:CO2 ratio of the acid gas stream. The acid gases in Iran contain around 35 mol% H2S and 60 mol% CO2. This low concentration of H2S calls for more complex sulfur plant, larger equipments, and higher costs. Acid gas enrichment processes (AGE) is run to upgrade low quality acid gas collected from gas treating...

متن کامل

Three Dimensional Analysis of Flow Past a Solid-Sphere at Low Reynolds Numbers with the Aid of Body Fitted Coordinates

In this paper, the flow-field of an incompressible viscous flow past a solid-sphere at low Reynolds numbers (up to 270) is investigated numerically. In order to extend the capabilities of the finite volume method, the boundary (body) fitted coordinates (BFC) method is used. Transformation of the partial differential equations to algebraic relations is based on the finite-volume method with coll...

متن کامل

Three Dimensional Analysis of Flow Past a Solid-Sphere at Low Reynolds Numbers with the Aid of Body Fitted Coordinates

In this paper, the flow-field of an incompressible viscous flow past a solid-sphere at low Reynolds numbers (up to 270) is investigated numerically. In order to extend the capabilities of the finite volume method, the boundary (body) fitted coordinates (BFC) method is used. Transformation of the partial differential equations to algebraic relations is based on the finite-volume method with coll...

متن کامل

Finite Volume Solution of a Cylinder in Cross Flow with Heat Transfer

A finite-volume model has been developed to study incompressible forced flow heat transfer of air over a circular cylinder in cross flow. An artificial compressibility technique is applied to couple the continuity to the momentum equations. The proposed explicit finite-volume method (FVM) uses a novel discretization in time and space. The governing equations are solved by time-marching using a ...

متن کامل

A Characteristic-based Numerical Simulation of Water-titanium Dioxide Nano-fluid in Closed Domains

A new characteristic-based method is developed and used for solving the mixed and forced convection problems. The nano-fluid flow with heat transfer is simulated with a novel characteristic-based scheme in closed domains with different aspect ratios. For this purpose, a FORTRAN code has been written and developed. Water as a pure fluid and water-titanium dioxide as a nano-fluid were considered....

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004